/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.thotheolh.xbase.data;

import org.thotheolh.xbase.data.meta.MetaType;

/**
 *
 * @author thotheolh
 */
public class DataElement {

    private MetaType type;
    private Object data;

    public DataElement() {
    }
    
    public DataElement(MetaType type, Object data) {
        setType(type);
        setData(data);
    }

    /**
     * @return the type
     */
    public MetaType getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(MetaType type) {
        this.type = type;
    }

    /**
     * @return the data
     */
    public Object getData() {
        return data;
    }

    /**
     * @param data the data to set
     */
    public void setData(Object data) {
        this.data = data;
    }
}
